package stuManagement.action;

import java.util.List;

import stuManagement.biz.ClassesBiz;
import stuManagement.entity.Classes;

import com.opensymphony.xwork2.ActionSupport;

public class ClassesAction extends ActionSupport {
	private List<Classes> classesList;

	public List<Classes> getClassesList() {
		return classesList;
	}
	
	private ClassesBiz classesBiz;
	public void setClassesBiz(ClassesBiz classesBiz) {
		this.classesBiz = classesBiz;
	}
	
	public String list(){
		classesList = classesBiz.getAll();
		return SUCCESS;
	}
	
}
